<?php

/***********************************************
 * IMPORTANT * 
 * for file handler component, do not use any
 * helpers ($html->file('userfile')) - this will
 * not work.  use standard html
 * <input type="file" name="userfile">
 */
?>
<h2>Ajouter un fichier</h2>

<?php echo $form->create('Upload', array('action' => 'admin_add', 'enctype' => 'multipart/form-data')); ?>

Fichier:<br/>
<input type="file" name="userfile[]"/><br/><br/>

Description ou Titre:<br />
<?php echo $form->input('Upload/extra_field', array('label' => '')); ?><br />

Evénements liés:<br />
<?php echo $form->select('Event/events_id', $events_titles, null, array('multiple' => 'true'), false); ?><br />
<br />
<?php echo $form->submit('Envoyer'); ?>

</form>

